package com.ywjt.pinkelephant;

import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.ywjt.pinkelephant.base.BaseVPFragment;


public class MyIndex extends BaseVPFragment implements View.OnClickListener {
    private Context context;
    private View view;

    @Override
    public void onClick(View v) {
        switch (v.getId()){

        }
    }

    @Override
    protected void onFragmentVisibleChange(boolean isVisible) {

    }

    @Override
    protected void onFragmentFirstVisible() {

    }

    public static MyIndex newInstance(String content) {
        Bundle arguments = new Bundle();
        arguments.putString("string", content);
     MyIndex fl = new MyIndex();
        fl.setArguments(arguments);
        return fl;
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        if (view == null) {
            view = inflater.inflate(R.layout.my_index, container, false);
            context = getActivity();
            initView();
        }
        return view;
    }

    public void initView(){

    }

}